package com.springboot.returndata.vo;

import lombok.Data;

import java.util.List;

/**
 * @author zyj
 * @description
 * @date 2018/7/31 13:56
 **/
@Data
public class CommonTreeVO<T> {

    private String id;
    private T t;
    private List<CommonTreeVO<T>> child;
    private List<CommonTreeVO<T>> children;
    private List<CommonTreeVO<T>> replyBody;
    private String parentId;

    public CommonTreeVO(){}

    public CommonTreeVO(T t){
        this.setT(t);
    }
}
